package interview.algorithms.again_in_interview.designpattern.singleton;

/**
 * @author fance
 * @date 2018/7/19 16:13
 */
public class SingleTonII {
    private static SingleTonII singleTonII;
    private SingleTonII() {
    }

    public static SingleTonII getSingleTonII() {
        if (singleTonII == null) {
            singleTonII = new SingleTonII();
        }

        return singleTonII;
    }
}
